<?php

namespace common\component;


use common\models\base\Admin;

class Constant
{
    const END_FRONT = "frontend";
    const END_BACK  = "backend";
    const END_API   = "api";
    const END_MOBILE = "mobile";
    const END_CONSOLE = "console";

    const ROUTE_USER = "user";
    const ROUTE_ARTICLE = "article";
    const ROUTE_CATEGORY = "category";
    const ROUTE_PHOTO   = 'album';
    const ROUTE_TAG = "tag";
    const ROUTE_SUBSCRIBE = "subscribe";

    const SUBSCRIBE_BASE = 14806;

    const LOGIN_TIMES = 2;
    const VERIFY_CODE_FREE_YES = 1;
    const VERIFY_CODE_FREE_NO = 0;

    const CATE_RECOMMEND = 'recommend';

    const TITLE_SUFFIX = 'zhoutian个人博客-分享技术生活的个人博客网站';
    const TITLE_MAIN = "zhoutian个人博客-分享技术生活的个人博客网站";
    const KEYWORDS_MAIN = "zhoutian个人博客-分享旅游照片、技术文章、好用的小工具、读书观后感";
    const DESCRIPTION_MAIN = "zhoutian个人博客是一个分享旅游照片、技术文章、好用的小工具、读书观后感等的个人博客网站平台";

    const TITLE_CATEGORY = "zhoutian个人博客-文章分类";
    const KEYWORDS_CATEGORY = "zhoutian个人博客-前端，js，vue，jquery，elementUl，iview,nodejs";
    const DESCRIPTION_CATEGORY = "zhoutian个人博客是一个分享旅游照片、技术文章、好用的小工具、读书观后感等的个人博客网站平台";
}
